package com.group.eams.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group.eams.pojo.dto.RoleQueryDto;
import com.group.eams.pojo.entity.Role;
import com.group.eams.pojo.vo.RoleListVo;
import org.apache.ibatis.annotations.Param;

/**
* @author 恩哲欣
* @description 针对表【role(角色管理)】的数据库操作Mapper
* @createDate 2024-10-29 16:09:34
* @Entity com.group.eams.pojo.entity.Role
*/
public interface RoleMapper extends BaseMapper<Role> {

    /**
     * 分页查询角色列表
     * @param page
     * @param roleQueryDto
     * @return
     */
    Page<RoleListVo> findRoleByWhere(Page<Role> page, @Param("roleQueryDto") RoleQueryDto roleQueryDto);

}
